package cn.tju.leavingsystem.entity;

import java.sql.Timestamp;

public class LeavingApplication {
    private int applicationId;
    private int staffId;
    private String staffName;
    private Timestamp holidayStart;
    private Timestamp holidayEnd;
    private String type;
    private String reason;
    private Timestamp submitTime;
    private int status;
    private int approverId;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public int getApproverId() {
        return approverId;
    }

    public void setApproverId(int approverId) {
        this.approverId = approverId;
    }

    public int getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(int applicationId) {
        this.applicationId = applicationId;
    }

    public int getStaffId() {
        return staffId;
    }

    public void setStaffId(int staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() { return staffName; }

    public void setStaffName(String staffName) { this.staffName = staffName; }

    public Timestamp getHolidayStart() {
        return holidayStart;
    }

    public void setHolidayStart(Timestamp holidayStart) {
        this.holidayStart = holidayStart;
    }

    public Timestamp getHolidayEnd() {
        return holidayEnd;
    }

    public void setHolidayEnd(Timestamp holidayEnd) {
        this.holidayEnd = holidayEnd;
    }

    public String getType() { return type; }

    public void setType(String type) { this.type = type; }

    public Timestamp getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Timestamp submitTime) {
        this.submitTime = submitTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
